package com.xishu.entity.shop;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 场景的时间配置
 */
public class SceneTimeConfig implements Serializable {
    private static final long serialVersionUID = -6837223720533839209L;

    @ApiModelProperty(value = "表示是星期几的,用1到7表示星期一到星期天")
    //s = 1+Sunday
    //s = 1+Monday
    //s = 1+Tuesday
    //s = 1+Wednesday
    //s = 1+Thursday
    //s = 1+Friday
    //s = 1+Saturday
    private Integer day;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    public SceneTimeConfig(Integer day, String startTime, String endTime) {
        this.day = day;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public SceneTimeConfig() {
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
